package study;

import java.util.Scanner;
public class useIf {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个数字");
        int i = sc.nextInt();
        if(i > 10){
            System.out.println("输入的数字比十大");
        }
        else if(i < 10){
            System.out.println("输入的数字比十小");
        }
        else{
            System.out.println("输入的数字等于十");
        }
    }
}
